/**
 * Created by pc on 4/18/16.
 */
import java.util.*;
import java.text.*;

public class HowOld {
    public static void main(String[] args) throws Exception {
        System.out.println("input birthday(yyyy-mm-dd");
        DateFormat dateFormat = new SimpleDateFormat("yyyy-mm-dd");
        Date birthDate = dateFormat.parse(new Scanner(System.in).nextLine());
        Date currentDate = new Date();
        long life = currentDate.getTime() - birthDate.getTime();
        System.out.println("your age is:" + (life / (365*24*60*60*1000L)));
    }
}
